package cloud.zhixinglu.www.spring.boot.email.strategy;

import cloud.zhixinglu.www.spring.boot.email.entity.Mail;

/**
 * 发送邮件策略接口
 *
 * @author weixin
 * @date 2023-08-03 11:58
 */
public interface MailStrategy {

    /**
     * 发送邮件
     *
     * @param from：谁发送
     * @param mail：邮件信息
     */
    void sendMail(String from, Mail mail);

}
